package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 干部走动明细表
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@Data
@TableName("IG_CADRE_INSPECTION_DETAIL")
public class IgCadreInspectionDetail extends Model<IgCadreInspectionDetail> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "CADRE_INSPECTION_DETAIL_ID",type = IdType.ASSIGN_UUID)
    private String cadreInspectionDetailId;

    /**
     * 负责人
     */
    @TableField("CADRE_INSPECTION_ID")
    private String cadreInspectionId;

    /**
     * 走动时间
     */
    @TableField("CADRE_INSPECTION_DATE")
    private Date cadreInspectionDate;

    /**
     * 监督编码
     */
    @TableField("IS_CADRE_INSPECTION")
    private String isCadreInspection;

    /**
     * 创建人
     */
    @TableField("CREATE_OP")
    private String createOp;

    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;


    @Override
    protected Serializable pkVal() {
        return this.cadreInspectionDetailId;
    }

}
